export default {


    closeFormObj: [
        {
            textarea: true, //是input
            label: "预警内容", //字段
            prop: "fWarningcontent", //字段名
            width: 24, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '工程部位/用途'
            }] //验证
        },
        {
            input: true, //是input
            label: "异常原因", //字段
            prop: "fReason", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            placeholder: "异常原因",
            rules: [{
                required: true,
                message: '异常原因不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "处理方式", //字段
            prop: "fHandleway", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '报告编号不能为空'
            }] //验证
        },
        {
            input: true, //是input
            label: "处理人", //字段
            prop: "fHandleusername", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '报告编号不能为空'
            }] //验证
        },
        {
            datePicker: true, //是input
            label: "处理日期", //字段
            prop: "fHandledates", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '报告日期不能为空'
            }], //验证
        },
        
        {
            label: "附件资料", //字段
            prop: "fHandlefile", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            rules: [{
                required: false,
                message: '报告文件'
            }] //验证
        },

    ],
    Faudit: [


        {
            selects: true, //是input
            label: "审核结果", //字段
            prop: "fFirstcheckresult", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择审核结果'
            }], //验证
            options: [

                {
                    label: "同意",
                    value: "同意",
                }, {
                    label: "不同意",
                    value: "不同意",
                }
            ]
        },
        {
            input: true, //是input
            label: "审核意见", //字段
            prop: "fFirstcheckopinion", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '取样编号'
            }], //验证
        },
        {
            input: true, //是input
            label: "审核人", //字段
            prop: "fFirstcheckusername", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '审核人'
            }], //验证
        },

        {
            datePicker: true, //是input
            label: "审核日期", //字段
            prop: "fFirstcheckdates", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '审核日期不能为空'
            }], //验证
        },
        {
            label: "附件资料", //字段
            prop: "fFirstcheckfile", //字段名
            width:24, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            rules: [{
                required: false,
                message: '报告文件'
            }] //验证
        },




    ],
    Saudit: [


        
        {
            selects: true, //是input
            label: "审核结果", //字段
            prop: "fSecondcheckresult", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择审核结果'
            }], //验证
            options: [

                {
                    label: "同意",
                    value: "同意",
                }, {
                    label: "不同意",
                    value: "不同意",
                }
            ]
        },
        {
            input: true, //是input
            label: "审核意见", //字段
            prop: "fSecondcheckopinion", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '审核意见'
            }], //验证
        },
        {
            input: true, //是input
            label: "审核人", //字段
            prop: "fSecondcheckusername", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '审核人'
            }], //验证
        },

        {
            datePicker: true, //是input
            label: "审核日期", //字段
            prop: "fSecondcheckdates", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: false,
                message: '审核日期不能为空'
            }], //验证
        },
        {
            label: "附件资料", //字段
            prop: "fSecondcheckfile", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            rules: [{
                required: false,
                message: '报告文件'
            }] //验证
        },


    ]
}